package com.tulingxueyuan.mall.modules.fms.model;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;

import java.io.Serializable;

/**
 * <p>
 * 
 * </p>
 *
 * @author Bin
 * @since 2022-09-07
 */
@Data
@EqualsAndHashCode(callSuper = false)
@TableName("fms_factory")
@ApiModel(value="FmsFactory对象", description="")
public class FmsFactory implements Serializable {

    private static final long serialVersionUID=1L;

    @ApiModelProperty(value = "编号")
    @TableId(value = "factory_id", type = IdType.AUTO)
    private Long factoryId;

    @ApiModelProperty(value = "加工厂名称")
    private String name;

    @ApiModelProperty(value = "负责人姓名")
    private String principalName;

    @ApiModelProperty(value = "负责人手机号")
    private String principalPhone;

    @ApiModelProperty(value = "加工厂地址")
    private String address;

    @ApiModelProperty(value = "组织机构代码")
    private String organizationId;

    @ApiModelProperty(value = "生产方式：0->库存式；1->订单式")
    private Integer productionMode;


}
